//
//  default_Cell.h
//  pmmSS
//
//  Created by Mac book on 2017/9/26.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "shoppingCardModel.h"

@class default_Cell;


@protocol default_CellDelegate <NSObject>

-(void)btnClick:(UITableViewCell *)cell andFlag:(int)flag;

@end

@interface default_Cell : UITableViewCell

@property (nonatomic,assign) id<default_CellDelegate>delegate;

@property (nonatomic,strong) UIButton *icon_btn, *add_btn, *subtract_btn;

@property (nonatomic,strong) UIImageView *icon_imageView;

@property (nonatomic,strong) UILabel *title_label, *icon_price_label, *price_label;

@property (nonatomic,strong) UITextField *number_textfield;

@property (nonatomic,assign) NSInteger count;

@property(assign,nonatomic)BOOL selectState;//选中状态

-(void)reloadWithModel:(shoppingCardModel *)model;

@end
